Optimal. Leaf size=22 \[ \frac{\log (x)}{a}-\frac{\log \left (a+b x^3\right )}{3 a} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0102264, antiderivative size = 22, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.308, Rules used = {266, 36, 29, 31} \[ \frac{\log (x)}{a}-\frac{\log \left (a+b x^3\right )}{3 a} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 266
Rule 36
Rule 29
Rule 31
Rubi steps
\begin{align*} \int \frac{1}{x \left (a+b x^3\right )} \, dx &=\frac{1}{3} \operatorname{Subst}\left (\int \frac{1}{x (a+b x)} \, dx,x,x^3\right )\\ &=\frac{\operatorname{Subst}\left (\int \frac{1}{x} \, dx,x,x^3\right )}{3 a}-\frac{b \operatorname{Subst}\left (\int \frac{1}{a+b x} \, dx,x,x^3\right )}{3 a}\\ &=\frac{\log (x)}{a}-\frac{\log \left (a+b x^3\right )}{3 a}\\ \end{align*}
Mathematica [A] time = 0.0047337, size = 22, normalized size = 1. \[ \frac{\log (x)}{a}-\frac{\log \left (a+b x^3\right )}{3 a} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.003, size = 21, normalized size = 1. \begin{align*}{\frac{\ln \left ( x \right ) }{a}}-{\frac{\ln \left ( b{x}^{3}+a \right ) }{3\,a}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.956124, size = 31, normalized size = 1.41 \begin{align*} -\frac{\log \left (b x^{3} + a\right )}{3 \, a} + \frac{\log \left (x^{3}\right )}{3 \, a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.44157, size = 49, normalized size = 2.23 \begin{align*} -\frac{\log \left (b x^{3} + a\right ) - 3 \, \log \left (x\right )}{3 \, a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.217667, size = 15, normalized size = 0.68 \begin{align*} \frac{\log{\left (x \right )}}{a} - \frac{\log{\left (\frac{a}{b} + x^{3} \right )}}{3 a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.12345, size = 30, normalized size = 1.36 \begin{align*} -\frac{\log \left ({\left | b x^{3} + a \right |}\right )}{3 \, a} + \frac{\log \left ({\left | x \right |}\right )}{a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]